<%= render :partial => "peipeidui/head", :locals => { :user => @user }%>

<%= render :partial => "peipeidui/main_nav", :locals => { :user => @user }%>

<div class="gray-box float-left margin-bottom-10" style="width: 600px;">
  <div class="float-left underline" style="width: 580px;">
    <a href="/peipeidui/people?people_id=<%= @people.uid.to_s %>"><%= xn_profile_pic_with_id @people.uid.to_s , {:size => "tiny"} %></a>
    <%= xn_name_with_id @people.uid.to_s, { :linked => "true"} %> 评价过的人：
  </div>
  
  <div class="float-left" style="width: 580px;padding:5px;margin-bottom:15px;">
    <% @ratings.each do |rating|%>
      <div id="couple" style=" width: 110px; height: 100px;margin: 5px;" class="gray-box float-left">
        <p style="height: 80px;">
        <%= xiaonei_couple rating.couple %> 
        </p>
        <p>评分：<%= rating.rating %></p>
      </div>
    <% end %>        
  </div>

  <div class="clear-both"></div>

  <div style="margin-top: 10px;">
    <%= will_paginate @ratings, {:prev_label=>' 上一页 ', :next_label=>' 下一页 '}  if @ratings.size > 0 %>
  </div>  
</div>
